<?php
//print_r($rows);
?>

<div class="items">
<?php foreach($rows as $row){
$code = $row["barcode"];
	
	?>
	<div class="item">
	<img style="width: 150px;" src="<?php echo base_url() ?>php-barcode/barcode.php?code=<?php echo $code; ?>&encoding=EAN" />
	<div class="text"><?php //echo $code; ?>
		NAME:<span class="name"><?php echo $row["name"]; ?></span><br/>
		CODE:<span class="code"><?php echo $row["code"]; ?></span>
		Register:<span class="create_date"><?php echo $row["create_date2"]; ?></span>
		</div>
	</div>
<?php } ?>
<div class="clear"></div>
</div>